package com.itsu.dao;

import com.itsu.domain.QuestionItem;

import java.util.List;

public interface QuestionItemDao {

    int save(QuestionItem questionItem);

    int delete(QuestionItem questionItem);

    int update(QuestionItem questionItem);

    QuestionItem findById(String id);

    List<QuestionItem> findAll();

    List<QuestionItem> findByQuestionId(String id);
}
